﻿using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;

namespace WebApplication1.Controllers
{
    public class ViewerJSController : Controller
    {
        public IActionResult Index()
        {

            //return File(new FileInfo($"wwwroot/lib/ViewerJS/index.html").OpenRead(), "text/html; charset = utf-8");
            return File(new FileInfo($"Views/ViewerJS/index.html").OpenRead(), "text/html; charset = utf-8");
        }
    }
}
